<%--
  Created by IntelliJ IDEA.
  User: asus
  Date: 2018-08-18
  Time: 15:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<link rel="stylesheet" href="${pageContext.request.contextPath}/static/bootstrap/css/bootstrap.css"/>
<link rel="stylesheet" href="${pageContext.request.contextPath}/static/table/bootstrap-table.min.css"/>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/table/bootstrap-table.min.js"></script>
<script type="text/javascript"
        src="${pageContext.request.contextPath}/static/table/locale/bootstrap-table-zh-CN.min.js"></script>
<link rel="stylesheet" href="${pageContext.request.contextPath}/static/date/bootstrap-datetimepicker.min.css"/>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/date/Moment.js"></script>
<script type="text/javascript"
        src="${pageContext.request.contextPath}/static/date/bootstrap-datetimepicker.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/layui.js"></script>
<link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/tongyong.css"/>
<link rel="stylesheet" href="${pageContext.request.contextPath}/static/easyui/easyui.css"/>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/easyui/icon.css">
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/easyui/demo.css">
<script type="text/javascript" src="${pageContext.request.contextPath}/static/easyui/jquery.easyui.min.js"></script>



<script type="text/javascript" src="${pageContext.request.contextPath}/../static/js/yezhuxinxibiao.js"></script>




<html>
<head>
    <title>业主信息表</title>
</head>
<div id="da">
    <div id="zuo">
        <ul id="tt" class="easyui-tree" data-options="url:'${pageContext.request.contextPath}/sale/tree',method:'get',animate:true"></ul>
    </div>
    <div id="you">

        <form class="form-inline">
            &nbsp;
            使用状态：
            <select id="zhuangtai" name="interest" class="form-control">
                <option value="-1">请选择</option>
            </select>
            &nbsp;
            <%--按供货商查询--%>
            门牌编号:
            <%--<input id="firstDate" type="text" class="form-control">--%>
            <select id="men" class="form-control" data-am-selected="{searchBox: 1}" data-am-selected="{maxHeight: 100}">
                <option value="-1">请选择</option>
            </select>
            <button onclick="search()" type="button" class="btn btn-default">查询</button>
        </form>

        <table id="table"></table>
    </div>
</div>
</body>
<script type="text/javascript">
    $(function(){
        $.post("${pageContext.request.contextPath}/house/menpai2",function (releset) {
            var e=releset;
            $(e).each(function (i,e) {
                $('#men').append('<option value='+e.doornumber+' >'+e.doornumber+'</option>');
            })
        })

        $.post("${pageContext.request.contextPath}/property/Qquanbu",function (releset) {
            var e=releset;
            $(e).each(function (i,e) {
                $('#zhuangtai').append('<option value='+e.id+' >'+e.name+'</option>');
            })
        })


    })
</script>
</html>
